<?php

//通用错误规范
define('SLIDING_VERIFICATION_INCORRECT', 100);
define('FILE_NOT_EXIST', 101);
define('FILE_EXTENSION_NOT_SUPPORTED', 102);
define('FILE_SIZE_LIMIT_EXCEEDED', 103);
define('FILE_UPLOAD_INCORRECT', 104);
define('FILE_UPLOAD_PATH_NOT_EXIST', 105);
define('CSRF_VERIFICATION_FAILURE', 106);
define('PARAMETER_FORMAT_ERROR', 108);
define('PARAMETER_INCORRECT', 109);
define('PARAMETER_NOT_EMPTY', 110);
define('RESOURCE_CAN_NOT_MODIFY', 111);
define('RESOURCE_EXISTS', 112);
define('RESOURCE_NOT_EXISTS', 113);
define('USER_NOT_LOGIN', 114);
define('USER_STATUS_DISABLED', 115);
define('USER_PURVIEW_UNASSIGNED', 116);
define('USER_IDENTITY_AUTHENTICATION_FAILED', 117);
define('STRATEGY_PRICE_NOT_FOUND', 118);

//通用字段错误规范
define('EMAIL_FORMAT_INCORRECT', 201);
define('EMAIL_EXISTS', 202);
define('PASSWORD_FORMAT_INCORRECT', 203);
define('CONFIRM_PASSWORD_INCORRECT', 204);
define('OLD_PASSWORD_FORMAT_INCORRECT', 205);
define('OLD_PASSWORD_INCORRECT', 206);
define('NAME_FORMAT_INCORRECT', 207);
define('PHONE_FORMAT_INCORRECT', 208);
define('ACCOUNT_NOT_EXISTS', 209);
define('TITLE_FORMAT_INCORRECT', 210);
define('CONTENT_FORMAT_INCORRECT', 211);
define('ENTERPRISE_NAME_FORMAT_INCORRECT', 212);
define('ENTERPRISE_ADDRESS_FORMAT_INCORRECT', 213);
define('USER_NAME_FORMAT_INCORRECT', 214);
define('USER_NAME_EXISTS', 215);
define('CODE_INCORRECT', 216);
define('STATE_FORMAT_INCORRECT', 217);
define('CITY_FORMAT_INCORRECT', 218);
define('EMAIL_CODE_ALREADY_SENT', 219);

//权限管理错误规范
define('ROLE_NAME_FORMAT_INCORRECT', 1201);
define('ROLE_NAME_EXISTS', 1202);
define('ROLE_PURVIEW_FORMAT_INCORRECT', 1203);

//用户管理错误规范
define('STAFF_ROLES_FORMAT_INCORRECT', 1301);
define('STAFF_ROLES_NOT_EXISTS', 1302);

//字典项管理错误规范
define('DICTIONARY_NAME_FORMAT_INCORRECT', 1401);
define('DICTIONARY_NAME_EXISTS', 1402);
define('DICTIONARY_CATEGORY_NOT_EXISTS', 1404);
define('DICTIONARY_DESCRIPTION_FORMAT_INCORRECT', 1405);

//仓库管理错误规范
define('WAREHOUSE_CONTACT_FORMAT_INCORRECT', 1501);
define('WAREHOUSE_KEEPER_FORMAT_INCORRECT', 1502);
define('WAREHOUSE_COUNTRY_FORMAT_INCORRECT', 1503);
define('WAREHOUSE_CODE_FORMAT_INCORRECT', 1506);
define('WAREHOUSE_CODE_EXISTS', 1507);
define('WAREHOUSE_NUMBERCODE_FORMAT_INCORRECT', 1508);
define('WAREHOUSE_ADDRESS_FORMAT_INCORRECT', 1509);
define('WAREHOUSE_POSTALCODE_FORMAT_INCORRECT', 1510);

//导出任务错误规范
define('EXPORT_TASK_SIZE_FORMAT_INCORRECT', 2301);
define('EXPORT_TASK_OFFSET_FORMAT_INCORRECT', 2302);
define('EXPORT_TASK_NAME_NOT_EXISTS', 2303);
define('EXPORT_TASK_SIZE_EXCEED_MAX_LINES_LIMIT', 2306);
define('EXPORT_TASK_CATEGORY_NOT_EXISTS', 2307);

//导出任务错误规范
define('MESSAGE_PUBLISHER_NOT_EXISTS', 2401);
define('MESSAGE_RECEIVER_NOT_EXISTS', 2402);

//VIP管理错误规范
define('VIP_NAME_FORMAT_INCORRECT', 2501);
define('VIP_CONSUMER_MIN_PRICE_FORMAT_INCORRECT', 2502);
define('VIP_CONSUMER_MAX_PRICE_FORMAT_INCORRECT', 2503);
define('VIP_INDICATORS_OVERLAPPING', 2504);
define('VIP_INDICATORS_INCOHERENT', 2505);
define('VIP_INDICATORS_FORMAT_INCORRECT', 2506);

//车辆类型管理错误规范
define('CARTYPE_NAME_FORMAT_INCORRECT', 2601);
define('CARTYPE_NAME_EXISTS', 2602);
define('CARTYPE_PALLET_NUMBER_FORMAT_INCORRECT', 2603);
define('CARTYPE_WEIGHT_FORMAT_INCORRECT', 2604);

//订单管理错误规范
define('POSITION_FORMAT_INCORRECT', 2701);
define('ATTACHMENTS_FORMAT_INCORRECT', 2702);
define('ISA_NUMBER_FORMAT_INCORRECT', 2703);
define('PICKUP_WAREHOUSE_FORMAT_INCORRECT', 2704);
define('ADDRESS_FORMAT_INCORRECT', 2705);
define('REFERENCES_FORMAT_INCORRECT', 2706);
define('IDF_PICKUP_FORMAT_INCORRECT', 2707);
define('WAREHOUSE_FORMAT_INCORRECT', 2708);
define('PALLET_NUMBER_FORMAT_INCORRECT', 2709);
define('ITEM_NUMBER_FORMAT_INCORRECT', 2710);
define('WEIGHT_FORMAT_INCORRECT', 2711);
define('WEIGHT_UNIT_FORMAT_INCORRECT', 2712);
define('FBA_NUMBER_FORMAT_INCORRECT', 2713);
define('PO_NUMBER_FORMAT_INCORRECT', 2714);
define('SO_NUMBER_FORMAT_INCORRECT', 2715);
define('CO_NUMBER_FORMAT_INCORRECT', 2716);
define('PICKUP_DATE_FORMAT_INCORRECT', 2717);
define('READY_TIME_FORMAT_INCORRECT', 2718);
define('CLOSE_TIME_FORMAT_INCORRECT', 2719);
define('PICKUP_NUMBER_FORMAT_INCORRECT', 2720);
define('REMARK_FORMAT_INCORRECT', 2721);
define('ITEMS_FORMAT_INCORRECT', 2722);
define('STOCKIN_NUMBER_FORMAT_INCORRECT', 2723);
define('STOCKIN_TIME_FORMAT_INCORRECT', 2724);
define('CARTYPE_FORMAT_INCORRECT', 2725);
define('ITEMS_ATTACHMENTS_FORMAT_INCORRECT', 2726);
define('AMAZONLTL_FORMAT_INCORRECT', 2727);
define('LENGTH_FORMAT_INCORRECT', 2728);
define('WIDTH_FORMAT_INCORRECT', 2729);
define('HEIGHT_FORMAT_INCORRECT', 2730);
define('DELIVERY_DATE_FORMAT_INCORRECT', 2731);
define('CLOSE_PAGE_FORMAT_INCORRECT', 2732);
define('FILE_NAME_FORMAT_INCORRECT', 2733);
define('AMAZONLTL_CAN_NOT_MODIFY', 2734);
define('PICKUPWAREHOUSE_NOT_EXISTS', 2735);
define('ADDRESS_NOT_EXISTS', 2736);
define('ITEMS_WAREHOUSE_NOT_EXISTS', 2737);
define('AMAZONLTLPOLICY_NOT_EXISTS', 2738);
define('AMAZONLTL_HAVE_BEEN_FROZEN', 2739);
define('FILE_PARSING_FAILED', 2740);
define('THE_NUMBER_OF_PARSES_EXCEEDS_THE_LIMIT', 2741);
define('FILE_PARSING_RETURNED_NULL', 2742);
define('RECEIVEAMAZONORDER_CAN_NOT_MODIFY', 2743);
define('CARTYPE_NOT_EXISTS', 2744);
define('CARTYPE_PALLET_EXCEEDS_LIMIT', 2745);
define('CARTYPE_WEIGHT_EXCEEDS_LIMIT', 2746);
define('AMAZONLTL_HAS_BEEN_ADDED_TO_OTHER_GROUP_ORDERS', 2747);
define('RECORD_OF_ORDER_INCOMPLETE_PICKUP_TIME', 2748);
define('AMAZONLTL_CAN_NOT_REGISTER_POSITION', 2749);
define('ORDER_INCOMPLETE_DELIVERY_TIME_RECORD', 2750);
define('ORDER_NOT_UPDATED_ISA', 2751);
define('DISPATCHAMAZONORDER_CAN_NOT_MODIFY', 2752);
define('AMAZONLTL_NOT_UPDATED_ISA', 2753);
define('GOODSTYPE_FORMAT_INCORRECT', 2754);
define('GOODSVALUE_FORMAT_INCORRECT', 2755);
define('PACKINGTYPE_FORMAT_INCORRECT', 2756);
define('AMAZONFTL_CAN_NOT_MODIFY', 2757);
define('AMAZONFTL_HAVE_BEEN_FROZEN', 2758);
define('AMAZONFTL_NOT_UPDATED_ISA', 2759);
define('TARGET_WAREHOUSE_FORMAT_INCORRECT', 2760);
define('AMAZONFTL_FORMAT_INCORRECT', 2761);
define('TARGETWAREHOUSE_NOT_EXISTS', 2762);

define('DELIVERY_READYTIME_FORMAT_INCORRECT', 2764);
define('DELIVERY_CLOSETIME_FORMAT_INCORRECT', 2765);
define('WEEKEND_DELIVERY_FORMAT_INCORRECT', 2766);
define('ORDERFTL_CAN_NOT_MODIFY', 2767);
define('ORDERFTL_HAVE_BEEN_FROZEN', 2768);
define('DELIVERYADDRESS_FORMAT_INCORRECT', 2770);
define('ORDERFTL_FORMAT_INCORRECT', 2771);
define('DELIVERYADDRESS_NOT_EXISTS', 2772);
define('DISPATCHORDER_CAN_NOT_MODIFY', 2773);
define('DELIVERYNAME_FORMAT_INCORRECT', 2774);

define('BOOKINGPICKUPDATE_FORMAT_INCORRECT', 2775);
define('PICKUPZIPCODE_FORMAT_INCORRECT', 2776);
define('PICKUPADDRESSTYPE_FORMAT_INCORRECT', 2777);
define('DELIVERYZIPCODE_FORMAT_INCORRECT', 2778);
define('DELIVERYADDRESSTYPE_FORMAT_INCORRECT', 2779);
define('PICKUPNEEDTRANSPORT_FORMAT_INCORRECT', 2780);
define('PICKUPNEEDLIFTGATE_FORMAT_INCORRECT', 2781);
define('PONUMBER_FORMAT_INCORRECT', 2782);
define('PICKUPVEHICLETYPE_FORMAT_INCORRECT', 2783);
define('DELIVERYDESCRIPTION_FORMAT_INCORRECT', 2784);
define('PICKUPREQUIREMENT_FORMAT_INCORRECT', 2785);
define('DELIVERYREQUIREMENT_FORMAT_INCORRECT', 2786);
define('READYTIME_FORMAT_INCORRECT', 2787);
define('CLOSETIME_FORMAT_INCORRECT', 2788);
define('DELIVERYREADYTIME_FORMAT_INCORRECT', 2789);
define('DELIVERYCLOSETIME_FORMAT_INCORRECT', 2790);
define('ORDERLTL_ADDRESS_NOT_EXISTS', 2791);
define('ORDERLTL_DELIVERYADDRESS_NOT_EXISTS', 2792);
define('RECEIVEORDERLTLORDER_CAN_NOT_MODIFY', 2793);
define('ORDERLTL_CAN_NOT_MODIFY', 2794);
define('ORDERLTL_HAVE_BEEN_FROZEN', 2795);
define('ORDERLTL_HAS_BEEN_ADDED_TO_OTHER_GROUP_ORDERS', 2796);
define('DISPATCHORDERLTLORDER_CAN_NOT_MODIFY', 2797);
define('ORDERLTL_FORMAT_INCORRECT', 2798);
define('ORDERLTL_ADDRESS_FORMAT_INCORRECT', 2799);
define('ORDERLTL_DELIVERYADDRESS_FORMAT_INCORRECT', 2800);
define('GOODSLEVEL_FORMAT_INCORRECT', 3001);
define('STACKABLE_FORMAT_INCORRECT', 3002);
define('TURNABLE_FORMAT_INCORRECT', 3003);
define('REQUIREMENT_CATEGORY_FORMAT_INCORRECT', 3004);
define('REQUIREMENT_STARTTIME_FORMAT_INCORRECT', 3005);
define('REQUIREMENT_ENDTIME_FORMAT_INCORRECT', 3006);

define('DELIVERYNEEDTRANSPORT_FORMAT_INCORRECT', 3007);
define('DELIVERYNEEDLIFTGATE_FORMAT_INCORRECT', 3008);
define('PRICEAPIIDENTIFY_FORMAT_INCORRECT', 3009);
define('PRICE_FORMAT_INCORRECT', 3010);
define('PRICEAPIIDENTIFY_NOT_EXISTS', 3011);
define('DESCRIPTION_FORMAT_INCORRECT', 3012);
define('ITEMS_EXCEEDS_THE_LIMIT', 3013);
define('PICKUPNEEDLIFTGATE_PARAMETER_FORMAT_ERRORS', 3014);
define('DELIVERYNEEDLIFTGATE_PARAMETER_FORMAT_ERRORS', 3015);
define('PICKUPNEEDTRANSPORT_PARAMETER_FORMAT_ERRORS', 3016);
define('DELIVERYNEEDTRANSPORT_PARAMETER_FORMAT_ERRORS', 3017);
define('INTERFACE_QUOTATION_NOT_MATCHED', 3018);
define('ORDERLTL_CAN_NOT_REGISTER_POSITION', 3019);
define('PATYPE_AND_DATYPE_CANNOT_BE_BOTH_RESIDENTIAL', 3020);

//策略管理错误规范
define('POLICY_NAME_FORMAT_INCORRECT', 2801);
define('POLICY_DESCRIPTION_FORMAT_INCORRECT', 2802);
define('SELFOPERATED_WAREHOUSE_FORMAT_INCORRECT', 2803);
define('POLICY_CONTENT_FORMAT_INCORRECT', 2804);
define('AMAZONLTLPOLICY_CAN_NOT_MODIFY', 2805);
define('SELFOPERATEDWAREHOUSE_NOT_EXISTS', 2807);
define('STRATEGIES_NOT_EXISTS', 2808);
define('AMAZONLTLBASEPRICESTRATEGY_NOT_FOUND', 2809);
define('DIMENSIONPRICESTRATEGY_NOT_FOUND', 2810);
define('GRADEPRICESTRATEGY_NOT_FOUND', 2811);
define('IDFPICKUPPRICESTRATEGY_NOT_FOUND', 2812);
define('WEIGHTPRICESTRATEGY_NOT_FOUND', 2813);
define('MAXPRICEGROUP_NOT_FOUND', 2814);
define('MINPRICEGROUP_NOT_FOUND', 2815);
define('SEQUENCEGROUP_NOT_FOUND', 2816);
define('AMAZONFTLPOLICY_CAN_NOT_MODIFY', 2817);
define('ORDERLTLPOLICY_CAN_NOT_MODIFY', 2818);
define('ORDERFTLPOLICY_CAN_NOT_MODIFY', 2819);

//定制列表错误规范
define('CUSTOMLIST_CATEGORY_FORMAT_INCORRECT', 2901);
define('CUSTOMLIST_IDENTIFY_FORMAT_INCORRECT', 2902);
define('CUSTOMLIST_CONTENT_FORMAT_INCORRECT', 2903);
